<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%><div class='panel'>
	<table class='title' cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td class='left'></td>
			<td class='middle'>
				电池价格整体维护
			</td>
			<td class='right'></td>
		</tr>
	</table>
	<div class='content'>
		<form id="editForm" name="editForm" method="post" >
		<table width="100%" border="0" id="DianChiTable" cellpadding="0"
		cellspacing="0" class='edit_table'>
		<tbody>
		    <tr>
				<th>
					电池品牌:
				</th>
				<td>
					<s:select name="model.pinPai" list="dianchiPinPais" listKey="key" listValue="value"  cssClass="select" ></s:select>
				</td>
			</tr>
			<tr>
				<th>
					电池型号:
				</th>
				<td>
					<s:select name="model.xingHao" list="dianchiTypes" listKey="key" listValue="value" cssClass="select" ></s:select>
				</td>
			</tr>
			<tr>
				<th>
					省:
				</th>
				<td>
					<s:select list="provinceList" listKey="name"  listValue="name"  cssClass="select" headerKey="" headerValue="选择省" onchange="getShi(this,'city','town')" name="model.province"></s:select>
				</td>
			</tr>
			
			<tr>
				<th>
					市:
				</th>
				<td>
					<select id='city'  onchange='getQu(this,"town")' name='model.city'   class="select" ><option value=''>选择市</option></select>
				</td>
			</tr>
			<tr>
				<th>
					区(县):
				</th>
				<td>
					<select id='town'  name='model.town'  class="select"><option value=''>选择区</option></select>
				</td>
			</tr>
			<tr>
				<th>
				显示状态:
				</th>
				<td class="s_checkboxlist" >
				    <s:if test='"1"==model.changeType'>
				    <s:radio list="#{'1':'涨价','-1':'降价'}" name="model.changeType" value="1" ></s:radio>
				    </s:if>
				    <s:elseif test='"-1"==model.state'> <s:radio list="#{'1':'涨价','-1':'降价'}"  name="model.changeType" value="-1" ></s:radio>
				    </s:elseif>
				    <s:else><s:radio list="#{'1':'涨价','-1':'降价'}"  name="model.changeType" value="-1" ></s:radio></s:else>
				</td>
			</tr>
			<tr>
				<th>
				金额:
				</th>
				<td >
				    <input type="text" name='model.price' value="${model.price}" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<td colspan="2" style="text-align: center">
					<a class="k-button" id="saveChangePriceLogBtn" onclick="saveChangePriceLog()"><span class="k-icon k-i-plus"></span>确定</a>
				</td>
			</tr>
		</tbody>
	</table>
		</form>
	</div>
</div>